# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='OrderCar',
            fields=[
                ('id', models.AutoField(auto_created=True, serialize=False, primary_key=True, verbose_name='ID')),
                ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('update_time', models.DateTimeField(auto_now_add=True, verbose_name='‘更新时间')),
                ('is_delete', models.BooleanField(default=False, verbose_name='是否删除')),
                ('comment', models.CharField(max_length=1000, verbose_name='评论')),
            ],
            options={
                'verbose_name_plural': '订单车辆',
                'verbose_name': '订单车辆',
            },
        ),
        migrations.CreateModel(
            name='OrderInfo',
            fields=[
                ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                ('update_time', models.DateTimeField(auto_now_add=True, verbose_name='‘更新时间')),
                ('is_delete', models.BooleanField(default=False, verbose_name='是否删除')),
                ('oder_id', models.CharField(max_length=50, serialize=False, primary_key=True, verbose_name='订单号')),
                ('price', models.DecimalField(max_digits=10, decimal_places=2, verbose_name='售价')),
                ('service_charge', models.DecimalField(max_digits=10, decimal_places=2, verbose_name='手续费')),
                ('freight', models.DecimalField(max_digits=10, decimal_places=2, verbose_name='运费')),
                ('stutus', models.IntegerField(choices=[(0, '未支付'), (1, '已支付'), (2, '未运输'), (3, '运输中'), (4, '交易完成'), (5, '关闭交易')], default=0, verbose_name='订单状态')),
                ('pay_methon', models.IntegerField(choices=[(0, '线上支付'), (1, '线下支付')], default=0, verbose_name='支付方式')),
                ('online_pay_method', models.IntegerField(choices=[(0, '银联支付'), (1, '微信支付'), (2, '支付宝')], default=0, verbose_name='线上交易')),
            ],
            options={
                'verbose_name_plural': '订单信息',
                'verbose_name': '订单信息',
            },
        ),
    ]
